package com.huatai.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.huatai.manage.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 区域轮廓;
 * </p>
 *
 * @author luoxc
 * @since 2023-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_range_profile")
@ApiModel(value = "TbRangeProfileEntity对象", description = "区域轮廓;")
public class TbRangeProfileEntity extends BaseEntity implements Serializable {

	@ApiModelProperty(value = "主键id")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "区域id")
	private String rangeId;

	@ApiModelProperty(value = "区域名称", required = true)
	@NotBlank(message = "区域名称不能为空")
	private String rangeName;

	@ApiModelProperty(value = "试验id", required = true)
	@NotBlank(message = "试验id不能为空！")
	private String trialId;

	@ApiModelProperty(value = "项目名称", required = true)
	@NotBlank(message = "项目名称不能为空！")
	private String trialName;

	@ApiModelProperty(value = "样式类型", required = true)
	@NotBlank(message = "样式类型不能为空")
	private String barrier;

	@ApiModelProperty(value = "底部区域填充类型", required = true)
	@NotBlank(message = "底部区域填充类型不能为空")
	private String bottom;

	@ApiModelProperty(value = "轮廓颜色", required = true)
	@NotBlank(message = "轮廓颜色不能为空")
	private String color;

	@ApiModelProperty(value = "区域轮廓坐标（json）", required = true)
	@NotBlank(message = "区域轮廓坐标不能为空")
	private Object points;

	@ApiModelProperty(value = "coord_z高度", required = true)
	@NotBlank(message = "高度不能为空")
	private String elevation;

	@ApiModelProperty(value = "围栏高度", required = true)
	@NotBlank(message = "围栏高度不能为空")
	private String height;

	@ApiModelProperty(value = "底部轮廓线宽度", required = true)
	@NotBlank(message = "底部轮廓线宽度不能为空")
	private String strokeWidth;

	@ApiModelProperty(value = "内环轮廓数据点（json）", required = true)
	@NotBlank(message = "内环轮廓数据点不能为空")
	private Object innerPoints;

	@ApiModelProperty(value = "状态")
	private String state = "1";

	@ApiModelProperty(value = "说明")
	private String remark;


}
